package com.yhp.dao;

import com.yhp.bean.Role;

import java.util.List;

public interface RoleDao {
    public List<Role> getRoleList(int pageIndex, int pageSize);
    public int total();
    public int insert(Role role);
    public Role findbyid(int roleid);
    public int update(int roleState,int roleId);//仅修改状态
    public int update(Role role);//修改全部数据
}
